package com.hqyj.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;


@Data
@TableName("bill_list")
public class Bill extends MyPage implements Serializable {

    //主键
    @TableId(value = "bill_id",type = IdType.AUTO)
    private Integer billId;

    //TableField 非主键的注解 ，定义的属性和列名的映射关系

    @TableField(value = "bill_income")
    private String billIncome;

    @TableField(value = "daily_date")
    private String dailyDate;

}
